package com.tencent.sr.iris.activity.service.util;

import java.time.LocalDate;

public class LocalDateUtil {

    public static boolean isLocalDateBetween(LocalDate currentLocalDate, LocalDate currentTaskStartDate,
            LocalDate currentTaskEndDate) {
        return (currentLocalDate.isEqual(currentTaskStartDate) || currentLocalDate.isAfter(currentTaskStartDate))
                && (currentLocalDate.isEqual(currentTaskEndDate) || currentLocalDate.isBefore(currentTaskEndDate));
    }
}
